package com.BlogPark.service.SearchService;

import com.BlogPark.pojo.Article;

import java.util.List;

public interface SearchService {
    //1.根据id查看具体的文章
    public Article searchById(String id);

    //2.根据输入的词条来搜索相关文章
    public List<Article> SearchByEntry(String entry);

    //3.返回所有文章
    List<Article> showAll();
}
